package com.csun.cmny.provider.model.dto.specialist;


import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class SpecialistSaveDto {

    /*服务人员id*/
    @NotNull(message = "{specialist.staffId.null}")
    private Long staffId;

    /*服务人员用户id*/
    @NotNull(message = "{specialist.staffUserId.null}")
    private Long staffUserId;


    /*专家名字*/
    @NotEmpty(message = "{specialist.name.null}")
    private String specialistName;

    /*性别 0-男 1-女*/
    @NotNull(message = "{specialist.gender.null}")
    private Integer gender;

    /*年龄*/
    private Integer age;

    /*照片code*/
    private String imgsCode;

    /*医院*/
    private String hospital;

    /*科室*/
    private String administrative;

    /*擅长*/
    private String speciality;


    /*咨询价格 元/次*/
    @NotNull(message = "{specialist.consultPrice.null}")
    private BigDecimal consultPrice;

    /*咨询专家提成比例*/
    @NotNull(message = "{specialist.consultProportion.null}")
    private Integer consultProportion;

    /*单次咨询专家提成*/
    @NotNull(message = "{specialist.consultRoyalty.null}")
    private BigDecimal consultRoyalty;

    /*视频通话包月价格 元/月*/
    @NotNull(message = "{specialist.videoPrice.null}")
    private BigDecimal videoPrice;

    /*视频通话专家提成比例*/
    @NotNull(message = "{specialist.videoProportion.null}")
    private Integer videoProportion;

    /*视频通话包月专家提成*/
    @NotNull(message = "{specialist.videoRoyalty.null}")
    private BigDecimal videoRoyalty;

    /*视频通话每月次数上限*/
    @NotNull(message = "{specialist.numberMonthly.null}")
    private Integer numberMonthly;

    /*登陆名*/
    @NotEmpty(message = "{specialist.loginName.null}")
    private String loginName;
}
